TimeMinusMin


This function subtracts one minute from given parameters with respect to the date and then assigns the date value to each variable. The intercalation is also calculated.

 

void TimeMinusMin(int year, int mon, int day, int hour, int min);

 

Parameters

year               : Year (tag or variable)

mon              : Month (tag or variable)

day                : Day (tag or variable)

hour              : Hour (tag or variable)

min               : Min (tag or variable)

  

Return Value

There is not a return value.

 

Example1 : If it used variables in a script)

year = 2000;

mon  = 1;

day = 14;

hour = 12;

min = 55;

@TimeMinusMin(year, mon, day, hour, min);

Description : It is the January 14, 2000, 12:54:00. In other words, year = 2000, mon = 1, day = 14, hour = 12, min = 54

 

Example2 : If it used memory tags in a script)

$year = 2000;

$mon  = 1;

$day = 1;

$hour = 0;

$min = 0;

@TimeMinusMin($year, $mon, $day, $hour, $min);

Description : Tags can be used immediately as parameters. $year = 1999, $mon = 12, $day = 31, $hour = 23, $min = 59 (The intercalation is also calculated.)

 

Related Helps)

@TimeFromString()

@TimeGetWaiting()

@TimeMinusDay()

@TimeMinusHour()

@TimeMinusMin()

@TimeMinusMon()

@TimeMinusSec()

@TimePlusDay()

@TimePlusHour()

@TimePlusMin()

@TimePlusMon()

@TimePlusSec()

@TimeSetLocalTime()

@TimeSolarToLunar()